import request from "@/utils/request"
export default {
  // 列表
  query(params) {
    return request({
      url: `/query-params/index`,
      method: "get",
      params,
    })
  },
  // 删除
  remove(id) {
    return request({
      url: `/query-params/delete/${id}`,
      method: "post",
      // data,
    })
  },
  // 保存
  save(data) {
    return request({
      url: `/query-params/add`,
      method: "post",
      data,
    })
  },
}
